package com.timing.finder.framework;

import lombok.Getter;
import lombok.Setter;

/**
 * @author JingGe(* ^ ▽ ^ *)
 * @date 2023-03-09 15:04
 * @email 1158055613@qq.com
 */
@Getter
@Setter
public class ValueEntry<R extends TimeSeriesData> {
    private String key;

    private long index;

    private R value;

    public ValueEntry(String key, long index, R value) {
        this.key = key;
        this.index = index;
        this.value = value;
    }

    public ValueEntry() {
    }
}
